package fr.p10.miage.FactSing.Product;

import fr.p10.miage.FactSing.Factory.Factory;

public class ProductC implements Product {
	static{
		Factory.getInstance().registerProduct("ProductC", new ProductC());
	}
	
	public void perform(){
		System.out.println ("I'm a ProductC , performing ");
	}

	public ProductC() {
		super();
	}
	
	@Override
	public Product creerProduct() {
		return new ProductC();
		
	}

	@Override
	public void faireActions() {
	this.perform();
	}
}
